@extends('back.index')
@section('title','课程管理')

@section('style')

@endsection
@section('mian')
    <div style="font-size:14px;padding:20px;" class="modal-content">
        <div class="my-order-wrap">
            <table class="table table-hover my-order-list" data-token="b85c364572f96a34c7a2e04eeee935e4">
                <thead>
                <tr class="info" style="text-align:center;">
                    <th>用户ID</th>
                    <th class="order-user-h">充值用户</th>
                    <th class="order-shoop-h">充值方式</th>
                    <th class="order-name-h">充值金额</th>
                    <th class="order-img-h">下单充值时间</th>
                </tr>
                </thead>
                <tbody>
                    @foreach($gomoney as $k)
                    <tr>
                        <td>{{$k->id}}</td>
                        <td>{{$k->nickname}}</td>
                        <td>{{$k->type=='1'?'支付宝':'微信'}}</td>
                        <td>{{$k->sum.'元'}}</td>
                        <td>{{date('Y-m-d',$k->addtime)}}</td>
                    </tr>
                    @endforeach
                </tbody>
            </table>
            {{$gomoney->links()}}
        </div>
    </div>
@endsection